import options from './request.js';

export function carRentalList(data = {}) {
	return options.reqJson('get', `/car/list?pageNum=1&pageSize=99&status=1`, data)
}

export function carRentalDetails(couponIds) {
	return options.reqJson('get', `/car/${couponIds}`)
}


export function carRentalPhoneList(data = {}) {
	return options.reqJson('get', `/car/phone/list?pageNum=1&pageSize=1`, data)
}

export function carRentalNoticeList(data = {}) {
	return options.reqJson('get', `/car/notice/list?pageNum=1&pageSize=99`,data)
}

export function instructionsList(data = {}) { //购票须知
	return options.reqJson('get', `/attractions/instructions/list`,data)
}

export function dictProductType(data = {}) { //门票字典
	return options.reqJson('get', `/system/dict/data/list?pageNum=1&pageSize=99&dictType=product_type`)
}



// export function instructionsList(id = "") { //门票详情
// 	return options.reqJson('get', `/clota/product/getOne/${id}`)
// }